//
//  CinemaDetailsViewController.m
//  UI_豆瓣
//
//  Created by WangZe on 15/10/14.
//  Copyright © 2015年 王泽龙. All rights reserved.
//

#import "CinemaDetailsViewController.h"

@interface CinemaDetailsViewController ()
@property(nonatomic, retain)UIWebView *webView;
@end

@implementation CinemaDetailsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:87 / 255.0 green:137 / 255.0 blue:157 / 255.0 alpha:1];
    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    [self.view addSubview:self.webView];
    NSURL *url = [NSURL URLWithString:self.strURL];
    NSLog(@"%@", self.strURL);
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [self.webView loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
